package com.superbytecode.stencil.entities.table;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: code-stencil
 * @Package: com.superbytecode.stencil.structure.column
 * @ClassName: ColumnTypeConverter
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/10/12 17:07
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.cn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public interface ColumnTypeConverter {
    /**
     * 将数据库类型转成基本类型
     *
     * @param type 数据库类型
     * @return 基本类型 int float等
     */
    String convertCommonType(String type);

    /**
     * 将数据库类型转成装箱类型
     *
     * @param type 数据库类型
     * @return 封装类型 Integer Float等
     */
    String convertObjectType(String type);
}